<?php


namespace app\middleware;


use think\Validate;

class DiscussValidate extends Validate
{
    protected $rule = [
        'uid' => 'require',
        'disContent' => 'require',
        'articleId' => 'require',
    ];

    protected $message = [
        'uid.require' => '用户id是必选的',
        'disContent.require' => '评论内容是必选的',
        'articleId.require' => '文章id是必填的',
    ];

}